package com.example.recall_application.mvp.ui.activity;

import android.annotation.SuppressLint;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.PowerManager;

import androidx.annotation.RequiresApi;

import com.example.recall_application.app.Constants;

import org.simple.eventbus.EventBus;

public class MyBroadcast extends BroadcastReceiver {
    private static final String TAG = "pdf_log";
    Context context;
    @RequiresApi(api = Build.VERSION_CODES.M)
    @Override
    public void onReceive(Context context, Intent intent) {
        this.context = context;
        EventBus.getDefault().post(Constants.ALARMCLOCK);

    }

}
